<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
 <%@taglib prefix="s" uri="/struts-tags"%>
 <%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<script type="text/javascript" src="js/jquery-3.1.1.min.js"></script>
<script type="text/javascript" src="js/layer/layer.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<base href="<%=basePath%>">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>登录界面</title>
</head>
<body>
	<div style="width:500px; height: 100px;margin: 0 auto;">
		
		<table>
			<tr>
				<th colspan="2"><font color="red">${requestScope.tip }</font></th>
			</tr>
			<tr>
				<td>用户名:</td>
				<td><input type="text" id="name"/></td>
			</tr>
			<tr>
				<td>密码:</td>
				<td><input type="password" id="password"/></td>
			</tr>
			<tr align="right">
				<td colspan="2"><input type="submit" value="登录" onclick="check_login()"/></td>
			</tr>
		</table>
		
	</div>
	
</body>
</html>